package com.fjb.pojo.order;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 订单信息
 * </p>
 *
 * @author hemiao
 * @since 2020-02-11
 */
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主账号id	
     */
    private Integer mainUserId;

    private Integer userId;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 交货方式  关联交货方式表
     */
    private Integer deliveryModeId;

    /**
     * 卖家用户id
     */
    private Integer sellerUserId;

    /**
     * 收货人名称
     */
    private String consigneeName;

    /**
     * 收货人电话
     */
    private String consigneePhone;

    /**
     * 收货人  省份
     */
    private String province;

    /**
     * 收货人  市
     */
    private String city;

    /**
     * 收货人 区
     */
    private String county;

    /**
     * 收货人 街道
     */
    private String street;

    /**
     * 收货人   地址
     */
    private String address;

    /**
     * 订单价格	
     */
    private BigDecimal orderPrice;

    /**
     * 优惠金额
     */
    private BigDecimal discountAmount;

    /**
     * 运费金额
     */
    private BigDecimal freightAmount;

    /**
     * 总数量
     */
    private Integer skuCount;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    /**
     * 支付方式	  1、微信小程序    
     */
    private String payMethod;

    /**
     * 支付时间
     */
    private LocalDateTime payTime;

    /**
     *  订单状态	1、已完成  2、待付款  3、待收货  4、待评价  5、售后 
     */
    private Integer orderStatus;

    private Integer createUserId;

    private LocalDateTime createTime;

    private Integer updateUserId;

    private LocalDateTime updateTime;

    /**
     * 来源   电脑端 windos ，微信小程序 wx_applet，app
     */
    private String dataSource;

    /**
     * 存购物车 选中的sku_file  多个商品就 逗号分隔
     */
    private String skuFileUrls;

    /**
     * 用户账单id
     */
    private Integer userBillId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getMainUserId() {
        return mainUserId;
    }

    public void setMainUserId(Integer mainUserId) {
        this.mainUserId = mainUserId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }
    public Integer getDeliveryModeId() {
        return deliveryModeId;
    }

    public void setDeliveryModeId(Integer deliveryModeId) {
        this.deliveryModeId = deliveryModeId;
    }
    public Integer getSellerUserId() {
        return sellerUserId;
    }

    public void setSellerUserId(Integer sellerUserId) {
        this.sellerUserId = sellerUserId;
    }
    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }
    public String getConsigneePhone() {
        return consigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        this.consigneePhone = consigneePhone;
    }
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }
    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }
    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }
    public BigDecimal getFreightAmount() {
        return freightAmount;
    }

    public void setFreightAmount(BigDecimal freightAmount) {
        this.freightAmount = freightAmount;
    }
    public Integer getSkuCount() {
        return skuCount;
    }

    public void setSkuCount(Integer skuCount) {
        this.skuCount = skuCount;
    }
    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }
    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }
    public LocalDateTime getPayTime() {
        return payTime;
    }

    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }
    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }
    public String getSkuFileUrls() {
        return skuFileUrls;
    }

    public void setSkuFileUrls(String skuFileUrls) {
        this.skuFileUrls = skuFileUrls;
    }
    public Integer getUserBillId() {
        return userBillId;
    }

    public void setUserBillId(Integer userBillId) {
        this.userBillId = userBillId;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
        "id=" + id +
        ", mainUserId=" + mainUserId +
        ", userId=" + userId +
        ", orderNumber=" + orderNumber +
        ", deliveryModeId=" + deliveryModeId +
        ", sellerUserId=" + sellerUserId +
        ", consigneeName=" + consigneeName +
        ", consigneePhone=" + consigneePhone +
        ", province=" + province +
        ", city=" + city +
        ", county=" + county +
        ", street=" + street +
        ", address=" + address +
        ", orderPrice=" + orderPrice +
        ", discountAmount=" + discountAmount +
        ", freightAmount=" + freightAmount +
        ", skuCount=" + skuCount +
        ", payAmount=" + payAmount +
        ", payMethod=" + payMethod +
        ", payTime=" + payTime +
        ", orderStatus=" + orderStatus +
        ", createUserId=" + createUserId +
        ", createTime=" + createTime +
        ", updateUserId=" + updateUserId +
        ", updateTime=" + updateTime +
        ", dataSource=" + dataSource +
        ", skuFileUrls=" + skuFileUrls +
        ", userBillId=" + userBillId +
        "}";
    }
}
